import {Module} from "@nestjs/common";
import {BooksController} from "./books.controller";
import {BooksService} from "./books.service";
import {TypeOrmModule} from "@nestjs/typeorm";
import {BooksEntity} from "./books.entity";
import {DatabaseModule} from "../common/database/database.module";
import {UserScoreModule} from "../common/userScore/userScore.module";

@Module({
    imports: [
        TypeOrmModule.forFeature([
            BooksEntity
        ]),
        DatabaseModule,
        UserScoreModule
    ],
    controllers: [BooksController],
    providers: [BooksService]

})
export class BooksModule {
}
